package cn.jiangxiong.pethome.system.user.mapper;

import cn.jiangxiong.pethome.base.mapper.BaseMapper;
import cn.jiangxiong.pethome.system.user.domain.Employee;
import cn.jiangxiong.pethome.system.user.domain.EmployeeBo;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface EmployeeMapper extends BaseMapper<Employee> {
   /* //查询一个
    Employee findOne(Long id);

    //分页查询高级查询
    List<Employee> findByQuery(EmployeeQuery query);
    //查询总条数
    Long findByQueryCount(EmployeeQuery query);
    //添加
    void add(Employee employee);
    //修改
    void update(Employee employee);
    //删除
    void delete(Long id);
    //根据id查询子类
    Long findByParentId(Long id);
    //批量删除
    void batchDel(List<Long> ids);*/
   //查询全部
   List<EmployeeBo> findAllBo();
}
